# 人民币转化为美元

# exchange_rate = 6.76

# RMB = float(input('请输入人民币金额：'))

# doller = RMB / exchange_rate

# print(f'美元金额为：{doller:0.2f}')


# 时分秒转化

second_input = int(input('请输入秒数：'))

minute_input = second_input // 60

hour = minute_input // 60 

second = second_input % 60

minute = minute_input % 60

print(hour, minute, second, sep='-')